package com.vchello.bean.entrepren;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * 
 * @author power
 * 项目投递记录
 */
@TableName("pro_delivery_record")
public class ProDeliveryRecord extends Model<ProDeliveryRecord> {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@TableId("id")
	private int id;

	@TableField("user_id")
	private int userId;       //投递者用户ID

	@TableField("receive_id")
	private int receiveId;     //接收者用户id(投资人ID或者机构ID)

	@TableField("pro_id")
	private int proId;

	@TableField("create_time")
	private String createTime;
	
	@TableField("status")
	private int status;
	
	public ProDeliveryRecord(int userId, int receiveId, int proId, String createTime, int status) {
		super();
		this.userId = userId;
		this.receiveId = receiveId;
		this.proId = proId;
		this.createTime = createTime;
		this.status = status;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getReceiveId() {
		return receiveId;
	}

	public void setReceiveId(int receiveId) {
		this.receiveId = receiveId;
	}

	public int getProId() {
		return proId;
	}

	public void setProId(int proId) {
		this.proId = proId;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}
}